/*    */ package com.mbl.phone.task;
/*    */ 
/*    */ import com.mbl.phone.service.DataService;
/*    */ import javax.annotation.Resource;
/*    */ import org.slf4j.Logger;
/*    */ import org.slf4j.LoggerFactory;
/*    */ import org.springframework.scheduling.annotation.Scheduled;
/*    */ import org.springframework.stereotype.Component;
/*    */ 
/*    */ 
/*    */ @Component
/*    */ public class BackListTask
/*    */ {
/* 14 */   static final Logger logger = LoggerFactory.getLogger(DataService.class);
/*    */   
/*    */   @Resource
/*    */   DataService dataService;
/*    */   
/*    */ 
/*    */   @Scheduled(cron="0 0,30 10,11,12,14,15,16,17,18,19 * * ?11 ")
/*    */   public void aTask()
/*    */   {
/* 23 */     Integer updataBlackList = this.dataService.updataBlackList(Integer.valueOf(2));
/* 24 */     logger.info("定时任务<添加黑名单>执行,添加黑名单:" + updataBlackList);
/*    */   }
/*    */ }


/* Location:              C:\Users\Administrator\Desktop\phone.war!\WEB-INF\classes\com\mbl\phone\task\BackListTask.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       0.7.1
 */